home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility2 / wine02bx.zip / LISP / MODES / TEXT-MOD.ELC < prev    next >
Text File  |  1993-03-28  |  4KB  |  49 lines

  1. ;;; compiled by @win386 on Sat Mar 13 14:33:45 1993
  2. ;;; from file c:/src/lucid-19.4/lisp/modes/text-mod.el
  3. ;;; emacs version 19.3 Lucid.
  4. ;;; bytecomp version 2.08; 27-aug-92.
  5. ;;; optimization is on.
  6. ;;; this file uses opcodes which do not exist in Emacs18.
  7.  
  8. (if (and (boundp 'emacs-version)
  9.      (or (and (boundp 'epoch::version) epoch::version)
  10.          (string-lessp emacs-version "19")))
  11.     (error "This file was compiled for Emacs19."))
  12.  
  13. (defvar text-mode-syntax-table nil "\
  14. Syntax table used while in text mode.")
  15. (defvar text-mode-abbrev-table nil "\
  16. Abbrev table used while in text mode.")
  17. (byte-code "└┴┬\"ê ¼ò─ ┼╞╟ #ê┼╚╟ #ê┼╔╩ #ê┬ç" [define-abbrev-table text-mode-abbrev-table nil text-mode-syntax-table make-syntax-table modify-syntax-entry 34 ".   " 92 39 "w   "] 4)
  18. (defvar text-mode-map nil "\
  19. Keymap for Text mode.
  20. Many other modes, such as Mail mode, Outline mode and Indented Text mode,
  21. inherit all the commands defined in this map.")
  22. (byte-code "¼ò┴ ┬├─#ê┬┼╞#ê┬╟╚#ê┴ç" [text-mode-map make-sparse-keymap define-key "    " tab-to-tab-stop "s" center-line "S" center-paragraph] 4)
  23. (fset 'text-mode #[nil "└ ê┴\n!ê├┼╔\n!ê╦╠!ç" [kill-all-local-variables use-local-map text-mode-map "Text" mode-name text-mode major-mode text-mode-abbrev-table local-abbrev-table set-syntax-table text-mode-syntax-table run-hooks text-mode-hook] 2 "\
  24. Major mode for editing text intended for humans to read.  Special commands:\\{text-mode-map}
  25. Turning on text-mode calls the value of the variable `text-mode-hook',
  26. if that value is non-nil." nil])
  27. (defvar indented-text-mode-map nil "\
  28. Keymap for Indented Text mode.
  29. All the commands defined in Text mode are inherited unless overridden.")
  30. (byte-code "¼è┴\n!├─┼#ê┴ç" [indented-text-mode-map copy-keymap text-mode-map define-key "    " indent-relative] 4)
  31. (fset 'indented-text-mode #[nil "└ ê┴\n!ê├─┼\"ê ╟!ê╔╩!ê╦\n┴ !ê═╧╤╥!ç" [kill-all-local-variables use-local-map text-mode-map define-abbrev-table text-mode-abbrev-table nil local-abbrev-table set-syntax-table text-mode-syntax-table make-local-variable indent-line-function indent-relative-maybe indented-text-mode-map "Indented Text" mode-name indented-text-mode major-mode run-hooks text-mode-hook] 3 "\
  32. Major mode for editing indented text intended for humans to read.\\{indented-text-mode-map}
  33. Turning on indented-text-mode calls the value of the variable `text-mode-hook',
  34. if that value is non-nil." nil])
  35. (fset 'change-log-mode #[nil "└ ê┴├┼╞!ê╟╚╔!ç" [indented-text-mode 8 left-margin 74 fill-column make-local-variable version-control never run-hooks change-log-mode-hook] 2 "\
  36. Major mode for editing ChangeLog files.  See M-x add-change-log-entry.
  37. Almost the same as Indented Text mode, but prevents numeric backups
  38. and sets `left-margin' to 8 and `fill-column' to 74." nil])
  39. (fset 'center-paragraph #[nil "è└ ên¼ä┴┬!ê`─ ê┼` \"*ç" [forward-paragraph newline 1 end backward-paragraph center-region] 3 "\
  40. Center each nonblank line in the paragraph at or after point.
  41. See center-line for more info." nil])
  42. (fset 'center-region #[(from to) "    V½ç    \n)èî    }êbêm?¡æè├─wêl)¼â┼ ê╞yê¬k*ç" [from to tem "     " nil center-line 1] 2 "\
  43. Center each nonblank line starting in the region.
  44. See center-line for more info." "r"])
  45. (fset 'center-line #[nil "è└┬yê├ ê└ê├ êi┬yê Z    Z╞Ñ\\j*ç" [nil line-length 0 delete-horizontal-space left-margin fill-column 2] 3 "\
  46. Center the line point is on, within the width specified by `fill-column'.
  47. This means adjusting the indentation so that it equals
  48. the distance between the end of the text and `fill-column'." nil])
  49.